<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%@include file="/WEB-INF/resources/common/basejs.jsp"%>

<title>角色管理</title>
</head>
<body class="easyui-layout" data-options="fit:true,border:false" style="width: 100%; height: 100%;">
	<div data-options="region:'center',fit:true" style="overflow: hidden;">
		<table id="table" data-options="fit:true,border:false"></table>
	</div>

	
	<div id="myWindow"></div>
	<script type="text/javascript">
		$(function() {
			logList.init();
		});
	
		var logList = {
			init : function() {
				var t = this;
				t.dataGrid.init();
			},
			
			dataGrid : {
				instance : '',
				init : function() { //初始化datagrid
					var t = this;
					
					t.selectrow = function(index) {
						logList.dataGrid.instance.selectRow(index);
					};
					var option = {
						id : "#table",
						url : '/log/querylist',
						height : $("#body").height(),
						columns : [ [ {
							field : 'loginName',
							title : '登录名',
							width : 50
						}, {
							field : 'memo',
							title : '操作',
							width : 100
						}, {
							field : 'timeUsed',
							title : '所用时间（毫秒）',
							width : 50
						}] ],
						queryParams : {},
					};

					t.instance = new DataGrid(option);
				}
			},

		};
	</script>
</body>
</html>